<?php

require_once './include/common.inc.php';
require_once 'left.php';
require_once 'right.php';
include_once './include/cart.class_p.php';
include_once './include/error_code.php';

$page_title = 'Acuity World WebShop';
$menu_id = 0;
$menu_str = PrintMenu();


$errorcode = $_GET['errorcode'];
$orderid = substr($_GET['orderid'],1);//去除订单号的前缀'p'
$actioncode = $_GET['actioncode'];

// ĶϢ
$sql = "update `promoter_order` set `pay_flag` = '$errorcode' WHERE `id` = '$orderid' limit 1";
$db->query($sql);


$error_meg = $error_ary[$errorcode];
$inProxy=true;//used in head.htm
$promoter_login=true;//used in head.htm

require_once PrintEot('header');
require_once PrintEot('left');
require_once PrintEot('promoter_paydeclined');
require_once PrintEot('right');
require_once PrintEot('footer');



?>